package com.szeldon.declatest.exec.events;

import java.util.Date;

/**
 * Event of test suite's execution.
 * 
 * @author szeldon
 * 
 */
public abstract class TestSuiteExecEvent {

    private String scenarioId;
    private String eventDescription;
    private Date eventDate;

    /**
     * Creates event with given parameters.
     * 
     * @param scenarioId
     * @param eventDescription
     */
    public TestSuiteExecEvent(String scenarioId, String eventDescription, Date eventDate) {
        this.scenarioId = scenarioId;
        this.eventDescription = eventDescription;
        this.eventDate = eventDate;
    }

    public String getScenarioId() {
        return scenarioId;
    }

    public String getEventDescription() {
        return eventDescription;
    }

    public Date getEventDate() {
        return eventDate;
    }

    @Override
    public String toString() {
        return "scenarioId=" + scenarioId + "; eventDescription=" + eventDescription + "; eventDate=" + eventDate + ";";
    }

}
